Transactions as the Foundation of a Memory Consistency Model
نویسندگان
چکیده
We argue for transactions as the synchronization primitive of an ordering-based memory consistency model. Rather than define transactions in terms of locks, our model defines locks, conditions, and atomic/volatile variables in terms of transactions. A traditional critical section, in particular, is a region of code, bracketed by transactions, in which certain data have been privatized. Our memory model, originally published at OPODIS’08, is based on the database notion of strict serializability (SS). In an explicit analogy to the DRF0 of Adve and Hill, we demonstrate that SS provides the appearance of transactional sequential consistency (TSC) for programs that are transactional data-race free (TDRF). We argue against relaxation of the total order on transactions, but show that selective relaxation of the relationship between program order and transaction order (selective strict serializability—SSS) can allow the implementation of transaction-based locks to be as efficient as conventional locks. We also show that condition synchronization (in the form of the transactional retry primitive) can be accommodated in our model without explicit mention of speculation, opacity, or aborted transactions. Finally, we compare SS and SSS to the notion of strong isolation (SI), arguing that SI is neither sufficient for TSC nor necessary in programs that are TDRF.
منابع مشابه
View Transactions and the Relaxation of Consistency Checks in Software Transactional Memory
We present view transactions, a model for relaxed consistency checks in software transactional memory (STM). View transactions always operate on a consistent snapshot of memory but may commit in a different snapshot. They are therefore simpler to reason about, provide opacity and maintain composability. In addition, view transactions avoid many of the overheads associated with previous approach...
متن کاملA Framework for Transactional Consistency Models with Atomic Visibility
Modern distributed systems often rely on databases that achieve scalability by providing only weak guarantees about the consistency of distributed transaction processing. The semantics of programs interacting with such a database depends on its consistency model, defining these guarantees. Unfortunately, consistency models are usually stated informally or using disparate formalisms, often tied ...
متن کاملبررسی ویژگیهای روانسنجی خردهآزمونهای حافظه میکر در دانشآموزان مقطع ابتدایی
The present research was conducted to study the psychometric characteristics of:"Meeker's memory Subscales". The sample consisted of 292 male and female students. Memory category has six subscales based on widely recognized, multifactoral model of intelligence developed by Guilford (1959). The results indicated that for Meeker's memory subscales, internal consistency coefficients ranged from...
متن کاملPsychometric Properties of the Persian Word Pairs Task for Declarative Memory Assessment
Objective: According to the declarative/procedural model, the semantic aspect of language depends on the brain structures responsible for declarative memory. The word pairs task is a common tool for evaluating declarative memory. The current study aimed to design a valid and reliable task for evaluating declarative memory in Persian children at learning and retention stages and to investigate i...
متن کاملVeri cation of FLASH Cache Coherence ProtocolBy Aggregation of Distributed Transactions
To verify cache coherence protocols for distributed multi-processor architectures, we compare a state graph of the implementation with a speciication which is a state graph representing the simpliied behavior. The steps in the spec-iication correspond to atomic transactions, which are not atomic in the implementation. The method relies on an abstraction function which aggregates the implementat...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2010